package com.lijinjiang.proxy01;

/**
 * @ClassName Star
 * @Description TODO
 * @Author Li
 * @Date 2022/9/21 17:13
 * @ModifyDate 2022/9/21 17:13
 * @Version 1.0
 */
public class Star implements Skill {
    private String name;

    public Star() {
    }

    public Star(String name) {
        this.name = name;
    }

    @Override
    public void dance() {
        System.out.println(name + "开始跳舞");
    }

    @Override
    public void sing() {
        System.out.println(name + "开始唱歌：我的中国心");
    }
}
